function out =  TriangleInit( dataSample, InitData, Params )
  inOnePart = ceil(InitData.LearnCount / InitData.LinguisticVariables);
	
  for i = 1:InitData.FeatureCount
		start = 1;
    endElement = inOnePart;
    dataSample(:,i) = sort(dataSample(:,i));
		for j = 1:InitData.LinguisticVariables
			Params(j,1,i) = min ( dataSample(start:endElement,i) );
			Params(j,2,i) = mean( dataSample(start:endElement,i) );
			Params(j,3,i) = max ( dataSample(start:endElement,i) );
      
      if (mod(InitData.LearnCount,InitData.LinguisticVariables) == 0)
				start = endElement + 1;
        endElement = endElement + inOnePart;
      else
        start = endElement;
        endElement = endElement + inOnePart - 1;
      end%if
    end%for j
    
    if (InitData.IsAny)
      Params(InitData.LinguisticVariables + 1, 1,i) = min ( dataSample(:,i) );
			Params(InitData.LinguisticVariables + 1, 2,i) = mean( dataSample(:,i) );
			Params(InitData.LinguisticVariables + 1, 3,i) = max ( dataSample(:,i) );
    end%if isAny
    
  end%for i
	
  out = Params;
  
end

